import { SystemPORT } from "@/api/config/servicePort";
import http from "@/api";
import { ResultData, System } from "@/api/interface/index";

/**
 * @name 系统模块
 */

// 读取后端文件
export const getReadFiles = (params: System.ReqReadFiles) => {
  return http.get<ResultData>({
    url: SystemPORT + `/getReadFiles`,
    params,
    _object: { cancel: false }
  });
};
